package com.sixth.docker.controller;

import com.sixth.core.entity.RegisteredItem;
import com.sixth.core.vo.R;
import com.sixth.docker.service.RegisteredItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 赵庆龙
 * @create: 2024-08-15 20:45
 **/
@RestController
@RequestMapping("/doctor/registereditem")
public class RegisteredItemController {
    @Autowired
    private RegisteredItemService registeredItemService;
    @GetMapping("/selectAll")
    public R<List<RegisteredItem>> selectAll(){
        return registeredItemService.selectAll();
    }


}
